-- GENERATED SPELL FOR [Brimgore] --


function spell0_4339(pUnit, Event) --@Flame Breath,n/a--
pUnit:FullCastSpellOnTarget(8873,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4339', 1700, 1)
end

function Sorts_4339(pUnit, Event)
local choix_sorts_4339 = math.random(0, 0)
if choix_sorts_4339 == 0 then
pUnit:RegisterEvent('spell0_4339', 1, 1)
end
end

function mob4339_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4339', math.random(1500, 3000), 1)
end

function mob4339_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4339_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4339_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4339, 1, 'mob4339_Action')
RegisterUnitEvent(4339, 2, 'mob4339_Leave')
RegisterUnitEvent(4339, 3, 'mob4339_Kill')
RegisterUnitEvent(4339, 4, 'mob4339_Die')
